package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

/**
 * @author 32338
 * @date 2024-04-30 12:39:15
 * @description
 */
public interface ReprotService {

    /**
     * @description
     ***:营业额统计
     **/
    TurnoverReportVO getTurnoverStatistic(LocalDate begin, LocalDate end);

    /**
     * @description
     ***:用户统计
     **/
    UserReportVO getUserStatistics(LocalDate begin, LocalDate end);

    /**
     * @description
     ***:统计指定时间内的订单数据
     **/
    OrderReportVO getOrdersStatistics(LocalDate begin, LocalDate end);

    /**
     * @description
     ***:销量排名前十的菜品
     **/
    SalesTop10ReportVO getTop10(LocalDate begin, LocalDate end);

    /**
     * @description
     ***:导出运营数据报表
     **/
    void exportBusinessDate(HttpServletResponse response);

}
